import request from '@/utils/request'

// 获取用户列表
export function getEmployees(data) {
    return request({
      url: '/api/System/Employee',
      method: 'get',
      params: data
    })
}

// 添加用户
export function addEmployee(data) {
    return request({
      url: '/api/System/Employee',
      method: 'post',
      params: data
    })
}

// 修改用户
export function updateEmployee(data) {
  return request({
    url: '/api/System/Employee',
    method: 'put',
    params: data
  })
}

// 删除用户
export function deleteEmployee(data) {
  return request({
    url: '/api/System/Employee',
    method: 'delete',
    params: data
  })
}